package com.ruoyi.marketing.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

/**
 * 用户任务中间表对象 user_task
 *
 * @author ruoyi
 * @date 2023-01-31
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("user_task")
public class UserTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    public static final Integer DEFAULT_STATE_NO = 0;//未完成
    public static final Integer DEFAULT_STATE_YES = 1;//已完成

    /** 用户id */
    @Excel(name = "用户id")
    @TableField("user_id")
    private Long userId;

    /** 任务id */
    @Excel(name = "任务id")
    @TableField("task_id")
    private Long taskId;

    /** 状态 */
    @Excel(name = "状态")
    @TableField("state")
    private Integer state;

}
